<template>
	<view>
		<!-- <home-title title="租车指南"></home-title> -->
		<view class="guideWrapper">
			<view class="leftWrapper">
				<image @click="goGuide(5)" style="width: 340rpx; height: 240rpx;" :src="homeTip1" mode="aspectFill"></image>
			</view>
			<view class="rightWrapper">
				<image @click="goGuide(2)" style="width: 334rpx; height: 118rpx;" :src="homeTip2" mode="aspectFill"></image>
				<image @click="goGuide(1)" style="width: 334rpx; height: 118rpx;" :src="homeTip3" mode="aspectFill"></image>
			</view>
		</view>
	</view>
</template>

<script>
	import homeTitle from '@/components/layout/home-title.vue'
	import setting from '@/settings.js'
	export default {
		name: 'guide-view',
		components:{
			homeTitle
		},
		data() {
			return {
				homeTip1: '',
				homeTip2: '',
				homeTip3: '',
			}
		},
		props: {
			
		},
		mounted() {
			if(setting.tenantId == '93'){//丰田
				this.homeTip1= 'https://qykh.shopec.com.cn/image-server/dz/fentian/home_guide1.png'
				this.homeTip2= 'https://qykh.shopec.com.cn/image-server/dz/fentian/home_guide2.png'
				this.homeTip3= 'https://qykh.shopec.com.cn/image-server/dz/fentian/home_guide3.png'
			}else {
				this.homeTip1= 'https://qykh.shopec.com.cn/image-server/dz/home_guide1.png'
				this.homeTip2= 'https://qykh.shopec.com.cn/image-server/dz/home_guide2.png'
				this.homeTip3= 'https://qykh.shopec.com.cn/image-server/dz/home_guide3.png'
			}
		},
		methods: {
           goGuide(type) {
			   uni.navigateTo({
			   	url: '/pages/guide/guide?type=' + type
			   })
		   }
		}
		
	}
</script>

<style lang="scss" scoped>
	.guideWrapper {
		margin-top: 26rpx;
		display: flex;
		background-color: #fff;
		padding: 14rpx;
		justify-content: space-between;
		border-radius: 20rpx;
		.leftWrapper {
			
		}
		.rightWrapper {
			display: flex;
			flex-direction: column;
			justify-content: space-around;
			position: relative;
			top: -5upx;
		}
	}
</style>
